home *** CD-ROM | disk | FTP | other *** search
- Path: jadoube.mcs.anl.gov!levine
- From: levine@jadoube.mcs.anl.gov (David Levine)
- Newsgroups: comp.lang.c
- Subject: va_start
- Date: Mon, 15 Apr 1996 20:23:18 GMT
- Organization: MCS, Argonne National Laboratory
- Message-ID: <8295997985298@jadoube.mcs.anl.gov>
- NNTP-Posting-Host: jadoube.mcs.anl.gov
-
- I've recently ftp'ed two separate programs that both use C`s variable length
- argument list feature. The problem I've had is that both programs use:
-
- va_start(arglist);
-
- i.e., they specify only one argument to va_start, not the required two. gcc
- is unhappy with this ("macro `va_start' used with just one arg"). I almost
- sense that this is/was legit!? Is it one of the <stdarg.c> vs. <varargs.h>
- differences (BSD) in ANSI C? Any help or other pointers much appreciated.
-
- Thanks --dave
-